import { Config } from '@stencil/core';
import { sass } from '@stencil/sass';

export const config: Config = {
  autoprefixCss: true,
  namespace: 'ibz-context-menu',
  plugins: [sass()],
  bundles: [
    {
      components: ['context-menu'],
    },
  ],
  outputTargets: [
    {
      type: 'dist',
      esmLoaderPath: '../loader',
    },
    {
      type: 'dist-custom-elements',
      dir: 'dist/components',
      includeGlobalScripts: false
    },
    {
      type: 'www',
      serviceWorker: null, // disable service workers
    },
  ],
};
